package com.demo.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 入库操作log日志表
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisStorageLog对象", description = "入库操作log日志表")
public class THisStorageLog {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "更改价格表")
    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;

    @ApiModelProperty(value = "诊所ID")
    private Integer companyId;

    @ApiModelProperty(value = "采购信息ID")
    private Integer purchaseId;

    @ApiModelProperty(value = "批次库存编号")
    private Long batchesOfInventoryNumber;

    @ApiModelProperty(value = "药品ID")
    private Integer medicinesId;

    @ApiModelProperty(value = "修改人ID")
    private Integer modifierId;

    private Integer newQuantity;

    @ApiModelProperty(value = "新批发价")
    private BigDecimal newTradePrice;

    @ApiModelProperty(value = "新处方价")
    private BigDecimal newPrescriptionPrice;

    @ApiModelProperty(value = "原数量")
    private Integer oldQuantity;

    @ApiModelProperty(value = "原批发价")
    private BigDecimal oldTradePrice;

    @ApiModelProperty(value = "原处方价")
    private BigDecimal oldPrescriptionPrice;

    @ApiModelProperty(value = "操作模块；采购：1，审核：2")
    private Integer operationModule;

    @ApiModelProperty(value = "创建时间")
    private Integer createTime;


}
